<template>
  <div class="introduce">
    <live-title titname="本期介绍"></live-title>
    <p>{{ DetilList.introduction }}</p>
    <div class="video">
      <img :src="`https://ss.lanqb.com/${DetilList.posters.mobile}`" />
    </div>
    <div class="bq">
      <div class="info">
        <img :src="`https://ss.lanqb.com/${DetilList.user.avatar}`" alt="" />
        <h4>{{ DetilList.user.nickname }}</h4>
      </div>
      <p>{{ DetilList.teacher_info.introduction }}</p>    
    </div>
    <live-title titname="大触作品"></live-title>

    <div class="work" >
      <img v-for="item in DetilList.daniu_class_teacher_works" :key="item.id" :src="`https://ss.lanqb.com/${item.cover_picture}`" >
    </div>
      <live-title titname="评论"></live-title>
      <textarea name="评论" id="" cols="30" rows="10"></textarea>
  </div>
</template>

<script>
import LiveTitle from "@/components/LiveTitle.vue";
export default {
  name: "IntroduceView",
  components: {
    LiveTitle,
  },
  props: ["DetilList"],
  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.introduce {
  width: 100vw;
  height: 42vh;
  // overflow-y: scroll;
  p {
    margin: auto;
    width: 345px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 20px;
    font-size: 13px;
    color: #434343;
  }
  .video {
    width: 100vw;
    img {
      width: 345px;
      height: 195px;
      margin: 10px;
      border-radius: 3px;
      font-size: 0;
    }
  }
  .bq {
    margin: auto;
    width: 345px;
    height: 300px;
    margin-bottom: 30px;
    background-color: #192425;
    background-image: linear-gradient(134deg, #242f32, #0e1917);
    border-radius: 3px;
    .info {
      width: 305px;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 116px;
      margin: auto;
      border-bottom: 1px solid white;
      > img {
        width: 84px;
        height: 84px;
        border-radius: 50%;
      }
      > h4 {
        margin-left: 15px;
        line-height: 115px;
        color: #fff;
      }
    }
    > p {
      width: 305px;
      padding-top: 15px;
      margin-top: 15px;
      font-size: 13px;
      line-height: 20px;
      color: hsla(0, 0%, 100%, 0.6);
    }
  }
  .work{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    >img{
      border-radius: 3px;
      margin: 4px;
      width: 167px;
      height: 125px;
    }
  }
  textarea{
    width: 349px;
    height: 64px;
    margin: 0px 10px;
  }
}
</style>
